﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JSShop.Model
{
    [Serializable]
    public class ShippingModeInfo
    {
        private IList<string> expressCompany;
        private IList<ShippingModeGroupInfo> modeGroup;

        public decimal? AddPrice { get; set; }

        public decimal? AddWeight { get; set; }

        public string Description { get; set; }

        public int DisplaySequence { get; set; }

        public IList<string> ExpressCompany
        {
            get
            {
                if (this.expressCompany == null)
                {
                    this.expressCompany = new List<string>();
                }
                return this.expressCompany;
            }
            set
            {
                this.expressCompany = value;
            }
        }

        public IList<ShippingModeGroupInfo> ModeGroup
        {
            get
            {
                if (this.modeGroup == null)
                {
                    this.modeGroup = new List<ShippingModeGroupInfo>();
                }
                return this.modeGroup;
            }
            set
            {
                this.modeGroup = value;
            }
        }

        public int ModeId { get; set; }

        public string Name { get; set; }

        public decimal Price { get; set; }

        public int TemplateId { get; set; }

        public string TemplateName { get; set; }

        public decimal Weight { get; set; }
    }
}
